package Day002_final_static_接口.demo01final;

public class 修饰成员变量 {
    //1.
    final int num1 = 10;
    //2.
    final int num2;

    public 修饰成员变量(int num2){
        this.num2 =num2;
    }

    public 修饰成员变量() {
        num2 = 100; //必须有值
    }
}
